public class MethodTest2 {
    public static void main(String[] args) {
        getSum();
    }

    public static void getSum() {
        int num1 = 10;
        int num2 = 20;
        int sum = num1 + num2;
        System.out.println(sum);
    }

    }
    

